import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: false,
  indexLabel: i18n.t('number'),
  stripe: true,
  menuAlign: 'center',
  menuWidth: 350,
  align: 'center',
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: i18n.t('form.formName'),
    prop: 'formName',
    search: true
  }, {
    label: i18n.t('home.updateTime'),
    prop: 'updateTime'
  }, {
    width: 150,
    label: i18n.t('product.status'),
    prop: 'timeType',
    search: true,
    type: 'select',
    dicData: [
      {
        label: i18n.t('form.day'),
        value: 1
      }, {
        label: i18n.t('form.week'),
        value: 2
      }, {
        label: i18n.t('form.month'),
        value: 3
      }
    ]
  }]
}
